﻿@model Kunlun.ViewModels.LogOnModel
@{
    ViewBag.Title = "昆仑数码商城登录页";
}
@section Head
{
    <link href="@Url.Content("~/Content/login/Style.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
@Html.ValidationSummary(true, "登录不成功。请更正错误并重试。", new { @class = "error" })
<div id="content">
    @using (Html.BeginForm())
    {
        <!-- login -->
        <div id="login">
            <p class="tt">
                请登录</p>
            <p>
                如果您在本站已拥有帐号，请使用已有的帐号信息直接进行登录即可，不需重复注册。</p>
            <dl>
                <dt>
                    @Html.LabelFor(m => m.UserName)
                </dt>
                <dd>
                    @Html.TextBoxFor(m => m.UserName, new { @class = "input1" })
                    @Html.ValidationMessageFor(m => m.UserName)
                </dd>
                <dt>
                    @Html.LabelFor(m => m.Password)</dt>
                <dd>
                    @Html.PasswordFor(m => m.Password, new { @class = "input1" })
                    @Html.ValidationMessageFor(m => m.Password)
                </dd>
                <dd>
                    @Html.CheckBoxFor(m => m.RememberMe)
                    @Html.LabelFor(m => m.RememberMe)
                </dd>
                <dd class="bt">
                    <input type="submit" value="登录" class="loginBtn" />
                    <a href="forgetPwd.html">忘记密码？</a></dd>
            </dl>
        </div>

    }
    <!-- register -->
    <div id="register">
        <p class="tt">
            还没有注册吗？</p>
        <p>
            如果还没有本站的通行帐号，请先注册一个属于自己的帐号吧。</p>
        <p>@Html.ActionLink("注册", "Register", "Account")</p>
    </div>
</div>
